/** When your routing user is too long, you can split it into small modules **/

import Layout from '@/layout'

const userRouter = {
  path: '/user',
  component: Layout,
  redirect: '/user/index',
  name: 'user',
  meta: {
    title: '用户管理',
    icon: 'user'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/user/index'),
      name: 'user.index',
      meta: { title: '会员例表', icon: 'user' }
    }
  ]
}
export default userRouter
